//
//  UserTags.m
//  PigMarket
//
//  Created by mac on 2019/6/9.
//  Copyright © 2019 felix.pigmarket.oc. All rights reserved.
//

#import "UserTag.h"

@implementation UserTag

- (NSString *)description {
    return [self yy_modelDescription];
}

- (BOOL)isSelected{
    
    if (!_isSelected) {
        _isSelected = NO;
    }
    return _isSelected;
}

- (NSNumber *)isSelect{
    
    if (!_isSelect) {
        _isSelect = @0;
    }
    return _isSelect;
}


@end

@implementation UserTags
- (NSString *)description
{
    return [NSString yy_modelDescription];
}
+ (NSDictionary *)modelContainerPropertyGenericClass {
    return @{
             @"tagsList" : [UserTag class]
             };
}


@end

@implementation UserTagsList
- (NSString *)description
{
    return [NSString yy_modelDescription];
}

+ (NSDictionary *)modelContainerPropertyGenericClass {
    return @{
             @"groupType" : [UserTags class],
             };
}

@end
